//
//  CZMessage.m
//  QQ聊天界面
//
//  Created by MAC on 16-3-11.
//  Copyright (c) 2016年 MAC. All rights reserved.
//

#import "CZMessage.h"

@implementation CZMessage

//实例方法用字典初始化模型对象
-(instancetype)initWithDict:(NSDictionary*)dict
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dict];
    }
    return  self;
}

//类方法
+(instancetype)messageWithDict:(NSDictionary*)dict
{
    return [[self alloc]initWithDict:dict];
}

@end
